<div class="left-bar">
            	<div class="left-bar-line" />
                </div>
                <div class="left-bar-image-head">
                </div>
                
                    
                    <?php
						$args = array(
							'number'     => $number,
							'orderby'    => id,
							'order'      => $order,
							'hide_empty' => $hide_empty,
							'include'    => $ids,
							'parent'    => 0
						);
						$product_categories = get_terms( 'product_cat', $args );
						
						foreach( $product_categories as $cat ) {
 							//echo '<li><a href="'. get_site_url().'/product-category/'. $cat->slug .'">'. $cat->name . '</a></li>';
							echo '<div class="categories-title">';
							echo '<div class="line"></div>';
							echo '<div class="left-bar-dot"></div>';
							echo '<div><a href="'. get_site_url().'/?product_cat='. $cat->slug .'"><h3 class="categories-title-text">'. $cat->name .'</h3></a></div>';
							echo '</div>';
 						}
						
						//echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $cat_count, 'woocommerce' ) . ' ', '.</span>' );
						
						// 获取分类
						//$terms = get_terms('category','orderby=id&hide_empty=0' );
						
						//$category = get_the_category();
						// 获取到的分类数量
						//$count = count($terms);
						//if($count > 0){
							// 循环输出所有分类信息
							//foreach ($terms as $term) {
								//if($term->term_id == 1)
								//{
								//	continue;
								//}
								//echo '<div class="categories-title">';
								//echo '<div class="line"></div>';
								//echo '<div class="left-bar-dot"></div>';
								//echo '<div><a herf="http://localhost/website1/?p=1"><h3 class="categories-title-text">'.woocommerce_get_page_id('base_category').'</h3></a></div>';
								//echo '</div>';
							//}
						//}
					?>     
               
                <div class="left-bar-line" />
           		</div>
                 <div class="left-bar-image-shopping">
                </div>
                 <div class="left-bar-image-cart">
                </div>
                <div class="left-bar-line" />
           		</div>
                <div class="left-bar-image-infomation">
                </div>
               
               	<?php
					// 获取分类
					$pages = get_pages();
					// 获取到的分类数量
					$count2 = count($pages);
					if($count2 > 0){
						// 循环输出所有分类信息
						foreach ($pages as $page) {
							echo '<div class="categories-title">';
							echo '<div class="line"></div>';
							echo '<div class="left-bar-dot"></div>';
							echo '<div><a href="'.get_page_link($page->ID).'"><h3 class="categories-title-text">'.$page->post_title.'</h3></a></div>';
							echo '</div>';
						}
					}
				?> 
                
                <div class="left-bar-line" />
           		</div>
                <div class="left-bar-image-trademe">
                </div>
            </div><!-- left-bar -->